package com.mybatis.demo.service;

import com.mybatis.demo.domain.Student;

import java.util.List;

public interface StudentService {
    List<Student> searchAll(Long page,Long size,String studentName);
    int count(String studentName);
    int addStu(Student student);
    int updateStu(Student student);
    int deleteStu(Long id);
}
